home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1995 #5 & #6
/
Amiga Plus CD - 1995 - No. 5 and 6.iso
/
pd
/
netz
/
term
/
extras
/
source
/
gtlayout-source.lha
/
LTP_AddGadgets.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-03-25
|
706b
|
30 lines
/* GadTools layout toolkit
**
** Copyright © 1993-1995 by Olaf `Olsen' Barthel
** Freely distributable.
*/
#include "gtlayout_global.h"
VOID __regargs
LTP_AddGadgets(LayoutHandle *handle)
{
if(handle)
{
#ifdef DO_BOOPSI_KIND
if(handle -> BOOPSIList)
{
AddGList(handle -> Window,(struct Gadget *)handle -> BOOPSIList,(UWORD)-1,(UWORD)-1,NULL);
RefreshGList((struct Gadget *)handle -> BOOPSIList,handle -> Window,NULL,(UWORD)-1);
}
#endif /* DO_BOOPSI_KIND */
AddGList(handle -> Window,handle -> List,(UWORD)-1,(UWORD)-1,NULL);
RefreshGList(handle -> List,handle -> Window,NULL,(UWORD)-1);
GT_RefreshWindow(handle -> Window,NULL);
LTP_DrawGroup(handle,handle -> TopGroup);
}
}